package com.lzy.cloud.sms.service;

import com.lzy.cloud.sms.dtos.MsgCodeDto;
import com.lzy.framework.template.BaseService;

public interface MsgCodeService extends BaseService<MsgCodeDto> {
    /**
     * 根据手机号和业务类型查找
     *
     * @param phone
     * @param type
     * @return
     */
    public MsgCodeDto findByTargetAndType(String phone, Integer type);
}
